package com.boco.fznq;

import com.boco.fznq.model.BannerModel;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by jiangcheng on 2016/12/13.
 */

public class Datas {

    public static List<BannerModel> getGridData() {
        List<BannerModel> bannerModels = new ArrayList<>();

        BannerModel model1 = new BannerModel();
        model1.setTitle("农村产权交易");
        model1.setResId(R.drawable.ic_1);
        model1.setUrl("http://www.baidu.com");
        bannerModels.add(model1);

        BannerModel model2 = new BannerModel();
        model2.setTitle("我要贷款");
        model2.setResId(R.drawable.ic_2);
        model2.setUrl("http://www.baidu.com");
        bannerModels.add(model2);

        BannerModel model4 = new BannerModel();
        model4.setTitle("掌上金融");
        model4.setResId(R.drawable.ic_4);
        model4.setUrl("http://www.baidu.com");
        bannerModels.add(model4);

        BannerModel model5 = new BannerModel();
        model5.setTitle("财产保险");
        model5.setResId(R.drawable.ic_5);
        model5.setUrl("http://www.baidu.com");
        bannerModels.add(model5);


//        BannerModel model7 = new BannerModel();
//        model7.setTitle("商家店铺");
//        model7.setResId(R.drawable.ic_7);
//        model7.setUrl("http://www.baidu.com");
//        bannerModels.add(model7);
//
//        BannerModel model8 = new BannerModel();
//        model8.setTitle("惠充值");
//        model8.setResId(R.drawable.ic_8);
//        model8.setUrl("http://www.baidu.com");
//        bannerModels.add(model8);

        return bannerModels;

    }


    public static List<BannerModel> getBannerData() {
        List<BannerModel> bannerModels = new ArrayList<>();

        BannerModel model1 = new BannerModel();
        model1.setUrl("http://jiangxi.sinaimg.cn/2013/0523/U9820P1332DT20130523174206.jpg");
        bannerModels.add(model1);

        BannerModel model2 = new BannerModel();
        model2.setUrl("http://img.liketrip.cn/jqphoto/2010-11-11/201011111429572.jpg");
        bannerModels.add(model2);

        return bannerModels;

    }




}
